package ln.javatest.day07.demo10;

public class Cat extends Animal{  //子类Cat来继承Animal类
    @Override
    public void eat(){
        System.out.println("猫吃鱼");
    }
}
